clear
echo ----------------------------------------------------------------------------------------------------
echo The purpose of this script is to install dependencies for extended storage
echo And you will... or possibly to extend the small Storage space
echo That Motherfuck Small Disk Storage... Damn
echo 200MB! What Can I install? TMD Openclash? That is Damn NOT Enough! Fuck
echo ----------------------------------------------------------------------------------------------------
clear
echo ----------------------------------------------------------------------------------------------------
echo Starting Change Install_Form to ali
sed -i 's_downloads.openwrt.org_mirrors.aliyun.com/openwrt_' /etc/opkg/distfeeds.conf
echo Updateing Package lists...
echo ----------------------------------------------------------------------------------------------------
echo Start install Depends
opkg install fdisk
opkg install parted
opkg install cfdisk
echo ----------------------------------------------------------------------------------------------------
echo start install WebUI depends
opkg install block-mount
wget https://gitee.com/caiji_top/wrt_sor/raw/master/Packages/23.05.5/luci-app-diskman.ipk
opkg install luci-app-diskman_v0.2.11_all.ipk
echo ----------------------------------------------------------------------------------------------------
echo Clean the residue now ...
rm ./luci-app-diskman.ipk
rm ./extend_storage_depend.sh
echo ----------------------------------------------------------------------------------------------------
echo Shell is execute success
echo Then ou can see the depends at WebUI and Terminal
echo The shell will terminated at 5S
sleep 5s
clear